﻿
@{
    ViewBag.Title = "addindex";
    Layout = "~/Areas/HouTaiArea/Views/Shared/_Layout.cshtml";
}


<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>addindex</title>
    <link href="~/Content/bootstrap.css" rel="stylesheet" />
</head>
<body>
    <div>

        @using (Html.BeginForm("useradd", "CMS_User", FormMethod.Post))
        {
            <table class="align-middle" align="center">
                <tr>
                    <td>姓名：</td>
                    <td>
                        <input class="form-control" type="text" name="Uname" />
                    </td>

                </tr>
                <tr>
                    <td>密码：</td>
                    <td>
                        <input type="text" name="upwd" class="form-control" />
                    </td>

                </tr>
                <tr>
                    <td>昵称：</td>
                    <td>
                        <input type="text" name="nname" class="form-control" />
                    </td>

                </tr>
                <tr>
                    <td>电话号码：</td>
                    <td>
                        <input type="text" name="mobile" class="form-control" />
                    </td>
                </tr>
                <tr>
                    <td>头像</td>
                    <td>
                        <input class="form-control" type="file" id="file" value="选择文件" name="face" />
                    </td>

                </tr>
                @*<tr>
                        <td>头像</td>
                        <td><img src="~/images/'face'" alt="" style="width:50px" /></td>
                    </tr>*@
                <tr>
                    <td>是否为管理员：</td>
                    <td>
                        <select id="Select1" name="Admin" class="form-select">
                            <option value="false">否</option>
                            <option value="True">是</option>
                        </select>
                    </td>
                </tr>
                <tr>
                    <td colspan="2">
                        <input type="submit" id="btn" value="添加" class="form-control" />
                    </td>
                </tr>


            </table>
        }
    </div>
</body>
</html>